﻿using Abp.Domain.Entities;
using System;
using System.ComponentModel.DataAnnotations.Schema;

namespace AVIS.OutBound.OrderPay
{
    /// <summary>
    /// 订单事务（待支付，待取消，待退款）
    /// </summary>
    [Table("avisOBOrderPayTrans")]
    public class OrderPayTrans : Entity
    {

        /// <summary>
        /// 支付方式（ALIPAY支付宝、WECHATPAY微信）
        /// </summary>
        public string PayType { get; set; }

        /// <summary>
        /// 处理状态（WAITPAY待支付，WAITCANCEL待取消，WAITREFUND待退款）
        /// </summary>
        public string Status { get; set; }

        /// <summary>
        /// 订单主键
        /// </summary>
        public int AvisOBOrderId { get; set; }

        /// <summary>
        /// 创建日期
        /// </summary>
        public DateTime CreateDate { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public string CreateUser { get; set; }

    }
}

